<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8" />
    <title></title>
    {include file='header'}
</head>

<body>
    <div class="x-nav">
        <span class="layui-breadcrumb">
            <a>首页</a>
            <a href="{:url('index')}">站点配置</a>
        </span>
        <div style="float: right;">
            <a class="layui-btn layui-btn-small" href="javascript:location.replace(location.href);" title="刷新">
                <i class="layui-icon layui-icon-refresh-1"></i></a>
        </div>
    </div>
    <div class="x-body">
        <form data-auto="true" action="{:request()->url()}" method="post"
            class='layui-form layui-card' autocomplete="off">
            <div class="layui-card-body padding-left-40">
                <label class="layui-form-item relative block">
                    <span class="color-green font-w7">网站名称</span>
                    <input name="site_name" required placeholder="请输入网站名称" value="{$config.site_name}"
                        class="layui-input">
                </label>
                
                <label class="layui-form-item relative block">
                    <span class="color-green font-w7">网站标题</span>
                    <input name="site_title" required placeholder="请输入网站标题" value="{$config.site_title}"
                        class="layui-input">
                </label>

                <label class="layui-form-item relative block">
                    <span class="color-green font-w7">关键词</span>
                    <input name="site_keyword" required placeholder="请输入关键词" value="{$config.site_keyword}"
                        class="layui-input">
                    <span class="help-block">多个关键词用逗号隔开</span>
                </label>

                <label class="layui-form-item relative block">
                    <span class="color-green font-w7">站点描述</span>
                    <input name="site_descript" placeholder="请输入站点描述" value="{$config.site_descript}" class="layui-input">
                    <span class="help-block">站点简介，如业务范围，项目名称</span>
                </label>

                <label class="layui-form-item relative block">
                    <span class="color-green font-w7">网站备案号</span>
                    <input name="miitbeian" placeholder="请输入网站备案号" value="{$config.miitbeian}" class="layui-input">
                </label>
                <label class="layui-form-item relative block">
                    <span class="color-green font-w7">网站版权信息</span>
                    <input name="site_copy" required placeholder="请输入版权信息" value="{$config.site_copy}"
                        class="layui-input">
                    <span class="help-block">网站版权信息</span>
                </label>
                <div class="hr-line-dashed "></div>
                <div class="layui-form-item text-center">
                    <button class="layui-btn" type="submit">保存配置</button>
                </div>
            </div>
        </form>
    </div>
</body>

</html>